
package com.showcai.controller.user;

import com.showcai.controller.base.BaseController;
import com.showcai.module.User;
import com.showcai.result.ResultObj;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by lutao on 2017/7/14.
 */
@RequestMapping("/user")
@Controller
public class UserController extends BaseController {

    @RequestMapping(value = "/login")
    @ResponseBody
    public ResultObj login(User user) {
        ResultObj resultObj = new ResultObj();

            resultObj.setData(new User());

        return resultObj;
    }
}
